<?php

namespace App\Enums\Notification;

use App\NotificationActions\NotificationActionInterface;

enum ReserveNotify : string implements NotificationEnumInterface
{
    // 预约助教
    case ReserveAssistant = 'reserve_assistant';

    // 预约台桌
    case ReserveTable = 'reserve_table';

    // 约球
    case ReserveBall = 'reserve_ball';

    public function label()
    {
        return match ($this) {
            self::ReserveAssistant => '预约助教',
            self::ReserveTable => '预约台桌',
            self::ReserveBall => '约球',
        };
    }

    public function action() : NotificationActionInterface|null
    {
        return null;
    }
}
